﻿using System;
using System.Collections.Generic;

using System.Text;
using ITAP.ShprossesBuilder.Modelling;

namespace ITAP.ShprossesBuilder.Manipulation
{
    public class VisitorInfo
    {
        private IModelVisitor visitor;

        public IModelVisitor Visitor
        {
            get { return visitor; }
//            set { visitor = value; }
        }
        private List<Type> allowCommandTypes;

        public List<Type> AllowCommandTypes
        {
            get { return allowCommandTypes; }
//            set { allowCommandTypes = value; }
        }

        public VisitorInfo(IModelVisitor visitor, Type[] allowCommandTypes)
        {
            this.visitor = visitor;
            this.allowCommandTypes = new List<Type>(allowCommandTypes);
        }
    }
}
